Skip to content

src: abstract tracing agent for both legacy and perfetto#64053

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
legendecas:perfetto-tracing-agent
Jun 29, 2026
Merged

src: abstract tracing agent for both legacy and perfetto#64053
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
legendecas:perfetto-tracing-agent

Conversation

@legendecas

Copy link
Copy Markdown
Member

Make an abstract interface node::tracing::Agent that provides
general control to the tracing. This allows drop-in replacement
of the legacy trace agent when perfetto is enabled.

This also encapsulates the trace writer to be managed by the
trace agent, instead of the node::V8Platform module, so that
the node::V8Platform could be agnostic about the trace
agent implementation.

Refs: nodejs/diagnostics#654

@nodejs-github-bot

nodejs-github-bot commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/gyp
  • @nodejs/inspector
  • @nodejs/diagnostics
  • @nodejs/cpp-reviewers

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run. labels Jun 22, 2026
@legendecas legendecas force-pushed the perfetto-tracing-agent branch 2 times, most recently from 177f4b9 to f7a36b9 Compare June 22, 2026 03:57
@legendecas legendecas added the trace_events Issues and PRs related to V8, Node.js core, and userspace code trace events. label Jun 22, 2026
@legendecas legendecas force-pushed the perfetto-tracing-agent branch 5 times, most recently from cac4ebe to 49f12cf Compare June 22, 2026 15:15
Signed-off-by: Chengzhong Wu <cwu631@bloomberg.net>
@legendecas legendecas force-pushed the perfetto-tracing-agent branch from 49f12cf to 9d87e1c Compare June 22, 2026 18:21
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@legendecas legendecas added commit-queue Add this label to land a pull request using GitHub Actions. author ready PRs that have at least one approval, no pending requests for changes, and a CI started. labels Jun 29, 2026
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Jun 29, 2026
@nodejs-github-bot nodejs-github-bot merged commit d95cbc2 into nodejs:main Jun 29, 2026
68 checks passed
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Landed in d95cbc2

@legendecas legendecas deleted the perfetto-tracing-agent branch June 29, 2026 14:17
alexfernandez pushed a commit to alexfernandez/node that referenced this pull request Jul 1, 2026
Signed-off-by: Chengzhong Wu <cwu631@bloomberg.net>
PR-URL: nodejs#64053
Refs: nodejs/diagnostics#654
Reviewed-By: James M Snell <jasnell@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run. trace_events Issues and PRs related to V8, Node.js core, and userspace code trace events.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants